package bb;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.TreeMap;

import com.bootdo.system.dto.GmspDto;
import com.bootdo.system.dto.ProductDto;
import com.bootdo.system.service.impl.KswServiceImpl;

public class KswCc {
	//41673
	public static void main(String[] args) {
		KswServiceImpl kswServiceImpl = new KswServiceImpl();
		String customer_id="1191202";
		String key="8a4b303cb5a6500a08e174d445b941d1";
		SimpleDateFormat df = new SimpleDateFormat("yyyyMMddhhss");//设置日期格式
		String timestamp = df.format(new Date());// new Date()为获取当前系统时间，也可使用当前时间戳
		 TreeMap<String, String> treeMap = new TreeMap<String, String>();
		   treeMap.put("customer_id" , customer_id);
		   treeMap.put("timestamp" , timestamp);
		ProductDto spxx = kswServiceImpl.getSpxx(41493,key, treeMap);
		System.out.println(spxx.toString());
	}

}
